/**
* @author Meng Zhang
**/

#pragma once

class BufferBase;
class BufferListener : public CWnd {
	DECLARE_DYNAMIC(BufferListener)
public:
	BufferListener();
	virtual void ReAttachBuffer(BufferBase *_buffer);
	virtual BufferBase* GetBuffer();
	virtual void UpdateFromBuffer() = 0;
	virtual ~BufferListener();
protected:
	BufferBase* buffer;
};